package net.ericaro.neojavagen.expressions ;
import net.ericaro.neojavagen.expressions.AdditiveExpression;
import net.ericaro.neojavagen.expressions.ShiftExpressionRest ;

/**
* *<pre> ShiftExpression :
    AdditiveExpression ShiftExpressionRest?
</pre>
*/
public class ShiftExpression   {

AdditiveExpression additiveexpression;
ShiftExpressionRest shiftexpressionrest ;

public ShiftExpression( AdditiveExpression additiveexpression, ShiftExpressionRest shiftexpressionrest ){
	this.additiveexpression = additiveexpression; this.shiftexpressionrest = shiftexpressionrest ;
	}public ShiftExpression( AdditiveExpression additiveexpression ){
this.additiveexpression = additiveexpression ;
}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	stringbuilder.append( this.additiveexpression ).append(" ");
if (this.shiftexpressionrest !=null ) stringbuilder.append( this.shiftexpressionrest ).append(" ") ;
	return stringbuilder.toString();
}

}
